package cn.hsa.fqz.monitor.dao;

import cn.hsa.fqz.monitor.entity.TMonitorEntityExecuteSqlProperties;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TMonitorEntityExecuteSqlPropertiesMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TMonitorEntityExecuteSqlProperties record);

    int insertSelective(TMonitorEntityExecuteSqlProperties record);

    TMonitorEntityExecuteSqlProperties selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TMonitorEntityExecuteSqlProperties record);

    int updateByPrimaryKey(TMonitorEntityExecuteSqlProperties record);

     List<TMonitorEntityExecuteSqlProperties> selectByTableNameAndCategory(@Param("tableName") String tableName, @Param("category") String category);

    List<TMonitorEntityExecuteSqlProperties> selectByTableName(@Param("tableName") String tableName);

    List<String> selectPropCodesByTableNameAndCodes(@Param("tableName")String tableName, @Param("tagList") List<String> tagList);
}
